package com.ruoyi.rpt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 报表设计对象 rpt_design
 * 
 * @author ruoyi
 */
public class RptDesign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设计ID */
    private Long designId;

    /** 报表ID */
    @Excel(name = "报表ID")
    private Long reportId;

    /** 设计内容 */
    private String designContent;

    /** 设计版本 */
    @Excel(name = "设计版本")
    private Integer designVersion;

    public void setDesignId(Long designId) 
    {
        this.designId = designId;
    }

    public Long getDesignId() 
    {
        return designId;
    }

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }

    public void setDesignContent(String designContent) 
    {
        this.designContent = designContent;
    }

    public String getDesignContent() 
    {
        return designContent;
    }

    public void setDesignVersion(Integer designVersion) 
    {
        this.designVersion = designVersion;
    }

    public Integer getDesignVersion() 
    {
        return designVersion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("designId", getDesignId())
            .append("reportId", getReportId())
            .append("designContent", getDesignContent())
            .append("designVersion", getDesignVersion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 